package com.hao.servicebase.exceptionhandler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author chenwenhao
 * @version 1.0.0
 * @ClassName GuliException.java
 * @Description TODO
 * @createTime 2020/11/22,13:53
 *  自定义异常
 *  @AllArgsConstructor     有参构造
 * @NoArgsConstructor       无参构造
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GuliException extends RuntimeException {

    private Integer code;
    private String msg;
}
